package com.zbkj.crmeb.chant.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
public class OfflineCompensatoryRequest implements Serializable {

    @ApiModelProperty(value = "商户id")
    @NotNull(message = "商户id不能为空")
    private Integer merId;

    @ApiModelProperty(value = "订单编号")
    @NotBlank(message = "订单编号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "充值金额")
    @NotNull(message = "充值金额不能为空")
    private BigDecimal price;

}